package io.renren.modules.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.sys.entity.AgentEntity;
import io.renren.modules.sys.entity.SysUserEntity;

import java.util.Map;

/**
 * 代理商
 *
 * @author Mark
 * @email sunlightcs@gmail.com
 * @date 2019-10-11 10:46:27
 */
public interface AgentService extends IService<AgentEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryBusinessPage(Map<String, Object> params);

    int queryLineCodeNum(Integer userid);

    int querySaleLineCodeNum(Integer userid);

    SysUserEntity queryAgentBySaleid(Integer saleid);
}

